home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / libelf / elf_getshdr.z / elf_getshdr
Encoding:
Text File  |  1998-10-30  |  4.9 KB  |  66 lines

  1.  
  2.  
  3.  
  4. EEEELLLLFFFF____GGGGEEEETTTTSSSSHHHHDDDDRRRR((((3333EEEE))))                                                EEEELLLLFFFF____GGGGEEEETTTTSSSSHHHHDDDDRRRR((((3333EEEE))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _eeee_llll_ffff______gggg_eeee_tttt_ssss_hhhh_dddd_rrrr: _eeee_llll_ffff_3333_2222______gggg_eeee_tttt_ssss_hhhh_dddd_rrrr, _eeee_llll_ffff_6666_4444______gggg_eeee_tttt_ssss_hhhh_dddd_rrrr - retrieve class-dependent
  10.      section header
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      _cccc_cccc [_f_l_a_g ...] _f_i_l_e ...  _----_llll_eeee_llll_ffff [_l_i_b_r_a_r_y ...]
  14.  
  15.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_llll_iiii_bbbb_eeee_llll_ffff_...._hhhh_>>>>
  16.      _EEEE_llll_ffff_3333_2222______SSSS_hhhh_dddd_rrrr _****_eeee_llll_ffff_3333_2222______gggg_eeee_tttt_ssss_hhhh_dddd_rrrr_((((_EEEE_llll_ffff______SSSS_cccc_nnnn _****_ssss_cccc_nnnn_))))_;;;;
  17.      _EEEE_llll_ffff_6666_4444______SSSS_hhhh_dddd_rrrr _****_eeee_llll_ffff_3333_2222______gggg_eeee_tttt_ssss_hhhh_dddd_rrrr_((((_EEEE_llll_ffff______SSSS_cccc_nnnn _****_ssss_cccc_nnnn_))))_;;;;
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      For a 32-bit class file, _eeee_llll_ffff_3333_2222______gggg_eeee_tttt_ssss_hhhh_dddd_rrrr returns a pointer to a section
  21.      header for the section descriptor _s_c_n.  Otherwise, the file is not a 32-
  22.      bit class file, _s_c_n was null, or an error occurred; _eeee_llll_ffff_3333_2222______gggg_eeee_tttt_ssss_hhhh_dddd_rrrr then
  23.      returns null.
  24.  
  25.      The header includes the following members.
  26.  
  27.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______nnnn_aaaa_mmmm_eeee_;;;;
  28.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______tttt_yyyy_pppp_eeee_;;;;
  29.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______ffff_llll_aaaa_gggg_ssss_;;;;
  30.                   _EEEE_llll_ffff_3333_2222______AAAA_dddd_dddd_rrrr      _ssss_hhhh______aaaa_dddd_dddd_rrrr_;;;;
  31.                   _EEEE_llll_ffff_3333_2222______OOOO_ffff_ffff       _ssss_hhhh______oooo_ffff_ffff_ssss_eeee_tttt_;;;;
  32.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______ssss_iiii_zzzz_eeee_;;;;
  33.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______llll_iiii_nnnn_kkkk_;;;;
  34.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______iiii_nnnn_ffff_oooo_;;;;
  35.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______aaaa_dddd_dddd_rrrr_aaaa_llll_iiii_gggg_nnnn_;;;;
  36.                   _EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd      _ssss_hhhh______eeee_nnnn_tttt_ssss_iiii_zzzz_eeee_;;;;
  37.  
  38.      If the program is building a new file, it is responsible for creating the
  39.      file's ELF header before creating sections.
  40.  
  41.      The 64-bit class works identically, simply replacing all instances of 32
  42.      in the description and table with 64.
  43.  
  44. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  45.      _eeee_llll_ffff(3E), _eeee_llll_ffff______ffff_llll_aaaa_gggg(3E), _eeee_llll_ffff______gggg_eeee_tttt_ssss_cccc_nnnn(3E), _eeee_llll_ffff______ssss_tttt_rrrr_pppp_tttt_rrrr(3E).
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                                                         PPPPaaaaggggeeee 1111
  63.  
  64.  
  65.  
  66.